package com.wissen.containment;
/**
 * @author wissen16
 * class Subject having number & name attributes with show information methods
 */
public class Subject {
	private int s_no;
	private String sname;
	/**
	 * @param s_no subject id
	 * @param sname subject name
	 * this constructor for intiate state 
	 */
	Subject(){
		s_no=101;
		sname="Unix O.S.";
	}
	/**
	 * this mathod to show state information
	 */
	public void Show(){
	System.out.println("Subject_id="+s_no+"\nSubject Name="+sname);
	}	
}
